WBCR\Titan\Tweaks\Canonical_Roles S

Total Complexity 32
Dependencies 1
Dependents 3
Total lines 410
Lines of code 306
Logical lines of code 56
Comment lines 66
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
get_capabilities()
A
35 1 126
get_user_role()
S
56 7 18
get_canonical_role_from_role_and_user()
S
55 6 18
get_unique_capabilities()
S
40 1 75
is_canonical_role_at_least()
S
56 4 18
get_role_from_caps()
S
60 4 13
get_users_with_canonical_role()
S
60 4 13
is_user_at_least()
S
55 3 19
get_canonical_role_from_role()
S
70 2 6